home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / User Contributions / Conquest 1.1.sea / Conquest 1.1 / generic-player / select-country.lisp < prev   
MacBinary  |  1993-02-14  |  1.5 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Feb 14 17:02:48 1993, modified Sun Feb 14 17:02:48 1993, creator Common Lisp 2, type ASCII, 868 bytes "select-country.lisp" , at 0x3e4 463 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 73 65 6c 65 63 74 | 2d 63 6f 75 6e 74 72 79 |..select|-country|
|00000010| 2e 6c 69 73 70 00 00 00 | 00 00 00 00 00 00 00 00 |.lisp...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 03 64 00 | 00 01 cf a7 a4 72 08 a7 |......d.|.....r..|
|00000060| a4 72 08 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.r......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9a 65 00 00 |........|.....e..|
|00000080| 3b 3b 3b 20 73 65 6c 65 | 63 74 2d 63 6f 75 6e 74 |;;; sele|ct-count|
|00000090| 72 79 2e 6c 69 73 70 0d | 3b 3b 3b 0d 3b 3b 3b 20 |ry.lisp.|;;;.;;; |
|000000a0| 43 4f 4e 51 55 45 53 54 | 20 41 49 20 50 52 4f 4a |CONQUEST| AI PROJ|
|000000b0| 45 43 54 0d 3b 3b 3b 0d | 3b 3b 3b 20 57 61 73 68 |ECT.;;;.|;;; Wash|
|000000c0| 69 6e 67 74 6f 6e 20 55 | 6e 69 76 65 72 73 69 74 |ington U|niversit|
|000000d0| 79 20 43 6f 6d 70 75 74 | 65 72 20 53 63 69 65 6e |y Comput|er Scien|
|000000e0| 63 65 20 44 65 70 61 72 | 74 6d 65 6e 74 0d 3b 3b |ce Depar|tment.;;|
|000000f0| 3b 20 43 6f 70 79 72 69 | 67 68 74 20 31 39 39 33 |; Copyri|ght 1993|
|00000100| 20 50 61 75 6c 20 4d 63 | 43 61 72 74 6e 65 79 2e | Paul Mc|Cartney.|
|00000110| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|00000120| 65 72 76 65 64 2e 0d 3b | 3b 3b 0d 3b 3b 3b 20 41 |erved..;|;;.;;; A|
|00000130| 55 54 48 4f 52 3a 20 20 | 0d 3b 3b 3b 0d 3b 3b 3b |UTHOR: |.;;;.;;;|
|00000140| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 3a 0d 3b 3b | DESCRIP|TION:.;;|
|00000150| 3b 0d 3b 3b 3b 20 54 68 | 69 73 20 66 69 6c 65 20 |;.;;; Th|is file |
|00000160| 69 73 20 61 20 70 6c 61 | 79 65 72 27 73 20 73 65 |is a pla|yer's se|
|00000170| 6c 65 63 74 20 63 6f 75 | 6e 74 72 79 20 6d 6f 64 |lect cou|ntry mod|
|00000180| 75 6c 65 2c 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ule, con|taining |
|00000190| 63 6f 64 65 20 66 6f 72 | 20 64 65 74 65 72 6d 69 |code for| determi|
|000001a0| 6e 69 6e 67 0d 3b 3b 3b | 20 61 20 63 6f 75 6e 74 |ning.;;;| a count|
|000001b0| 72 79 20 74 6f 20 73 65 | 6c 65 63 74 20 64 75 72 |ry to se|lect dur|
|000001c0| 69 6e 67 20 74 68 65 20 | 66 69 72 73 74 20 72 6f |ing the |first ro|
|000001d0| 75 6e 64 20 6f 66 20 43 | 6f 6e 71 75 65 73 74 2e |und of C|onquest.|
|000001e0| 0d 3b 3b 3b 0d 3b 3b 3b | 20 55 53 45 3a 0d 3b 3b |.;;;.;;;| USE:.;;|
|000001f0| 3b 0d 3b 3b 3b 20 44 65 | 66 69 6e 65 20 74 68 65 |;.;;; De|fine the|
|00000200| 20 6d 65 74 68 6f 64 20 | 63 61 6c 6c 65 64 20 22 | method |called "|
|00000210| 73 65 6c 65 63 74 2d 63 | 6f 75 6e 74 72 79 22 2e |select-c|ountry".|
|00000220| 20 20 54 68 69 73 20 6d | 65 74 68 6f 64 20 77 69 | This m|ethod wi|
|00000230| 6c 6c 20 62 65 20 63 61 | 6c 6c 65 64 20 66 72 6f |ll be ca|lled fro|
|00000240| 6d 20 74 68 65 0d 3b 3b | 3b 20 63 6f 6e 74 72 6f |m the.;;|; contro|
|00000250| 6c 20 6f 62 6a 65 63 74 | 20 61 73 20 6e 65 65 64 |l object| as need|
|00000260| 65 64 2e 0d 3b 3b 3b 0d | 3b 3b 3b 20 3e 3e 20 43 |ed..;;;.|;;; >> C|
|00000270| 68 61 6e 67 65 20 61 6c | 6c 20 6f 63 63 75 72 72 |hange al|l occurr|
|00000280| 65 6e 63 65 73 20 6f 66 | 20 22 67 65 6e 65 72 69 |ences of| "generi|
|00000290| 63 22 20 74 6f 20 61 20 | 75 6e 69 71 75 65 20 69 |c" to a |unique i|
|000002a0| 64 65 6e 74 69 66 69 65 | 72 20 28 65 2e 67 2e 20 |dentifie|r (e.g. |
|000002b0| 79 6f 75 72 20 6c 6f 67 | 69 6e 20 6e 61 6d 65 29 |your log|in name)|
|000002c0| 0d 0d 28 69 6e 2d 70 61 | 63 6b 61 67 65 20 3a 67 |..(in-pa|ckage :g|
|000002d0| 65 6e 65 72 69 63 29 0d | 0d 0d 3b 3b 3b 20 54 6f |eneric).|..;;; To|
|000002e0| 20 6f 76 65 72 72 69 64 | 65 20 74 68 65 20 64 65 | overrid|e the de|
|000002f0| 66 61 75 6c 74 20 22 62 | 61 73 69 63 2d 70 6c 61 |fault "b|asic-pla|
|00000300| 79 65 72 22 20 62 65 68 | 61 76 69 6f 72 2c 20 72 |yer" beh|avior, r|
|00000310| 65 70 6c 61 63 65 20 74 | 68 65 20 22 63 61 6c 6c |eplace t|he "call|
|00000320| 2d 6e 65 78 74 2d 6d 65 | 74 68 6f 64 22 0d 3b 3b |-next-me|thod".;;|
|00000330| 3b 20 63 61 6c 6c 20 77 | 69 74 68 20 63 6f 64 65 |; call w|ith code|
|00000340| 20 74 6f 20 64 65 63 69 | 64 65 20 61 6e 20 61 74 | to deci|de an at|
|00000350| 74 61 63 6b 20 6d 6f 76 | 65 2e 20 20 54 68 69 73 |tack mov|e. This|
|00000360| 20 6d 65 74 68 6f 64 20 | 73 68 6f 75 6c 64 20 72 | method |should r|
|00000370| 65 74 75 72 6e 3a 0d 3b | 3b 3b 0d 3b 3b 3b 20 20 |eturn:.;|;;.;;; |
|00000380| 20 20 20 3c 61 76 61 69 | 6c 61 62 6c 65 2d 63 6f | <avai|lable-co|
|00000390| 75 6e 74 72 79 3e 0d 3b | 3b 3b 0d 28 64 65 66 6d |untry>.;|;;.(defm|
|000003a0| 65 74 68 6f 64 20 73 65 | 6c 65 63 74 2d 63 6f 75 |ethod se|lect-cou|
|000003b0| 6e 74 72 79 20 28 28 70 | 6c 61 79 65 72 20 67 65 |ntry ((p|layer ge|
|000003c0| 6e 65 72 69 63 2d 70 6c | 61 79 65 72 29 29 0d 20 |neric-pl|ayer)). |
|000003d0| 20 28 63 61 6c 6c 2d 6e | 65 78 74 2d 6d 65 74 68 | (call-n|ext-meth|
|000003e0| 6f 64 29 29 00 00 00 00 | 00 00 00 00 00 00 00 00 |od))....|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 01 00 00 00 01 7d | 00 00 00 7d 00 00 00 52 |.......}|...}...R|
|00000410| 73 84 72 27 5c 02 07 18 | 2c 2e 4d d5 4b 6c 01 c0 |s.r'\...|,.M.Kl..|
|00000420| 86 48 4b 20 0a 02 2a 06 | 9a 80 61 01 90 85 f1 02 |.HK ..*.|..a.....|
|00000430| 13 73 65 6c 65 63 74 2d | 63 6f 75 6e 74 72 79 2e |.select-|country.|
|00000440| 6c 69 73 70 02 00 00 00 | 54 45 58 54 43 43 4c 32 |lisp....|TEXTCCL2|
|00000450| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 64 00 00 |..TEXTCC|L2...d..|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 a7 0f 16 96 00 00 | 03 64 00 00 01 cf 72 00 |........|.d....r.|
|00000480| 12 08 01 00 00 05 5a 4b | 03 00 00 00 00 01 11 68 |......ZK|.......h|
|00000490| e8 63 9a 90 10 11 2e 2e | 00 14 41 ee ff 00 42 10 |.c......|..A...B.|
|000004a0| 2f 07 48 6e ff 00 4e ad | 10 c2 48 6e ff 00 2f 07 |/.Hn..N.|..Hn../.|
|000004b0| 70 00 10 2e 00 13 2f 00 | 15 2f 2e 00 0c 2f 2e 00 |p...../.|./.../..|
|000004c0| 08 4e ba 74 16 2e 2e fe | fc 4e 5e 4e 75 4e 56 00 |.N.t....|.N^NuNV.|
|000004d0| 00 60 5a 4f 50 01 11 7a | 8a 8d 67 01 67 1e 5a 6a |.`ZOP..z|..g.g.Zj|
|000004e0| 12 2f 2e 00 14 12 70 00 | 10 2e 11 00 13 56 60 5a |./....p.|.....V`Z|
|000004f0| 4d 4c 01 00 6e 68 71 8c | 5b 13 4e 5e 4e 75 4e 56 |ML..nhq.|[.N^NuNV|
|00000500| 00 00 00 1a 00 02 00 14 | 0c 01 00 04 09 00 01 00 |........|........|
|00000510| 00 00 02 00 02 41 01 00 | 02 5a 02 00 03 1b 00 00 |.....A..|.Z......|
|00000520| 00 0f 00 00 05 54 69 6d | 65 73 06 4d 6f 6e 61 63 |.....Tim|es.Monac|
|00000530| 6f 00 00 00 48 00 09 4d | 6f 6e 61 63 6f 00 00 00 |o...H..M|onaco...|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 06 00 08 00 2c 00 06 01 |........|....,...|
|00000560| d9 02 1b 00 2c 00 06 01 | d9 02 1b 00 00 00 00 00 |....,...|........|
|00000570| 00 02 2e 00 00 02 2e 00 | 00 00 00 01 00 00 00 01 |........|........|
|00000580| 00 00 00 01 7d 00 00 00 | 7d 00 00 00 52 00 23 d0 |....}...|}...R.#.|
|00000590| 40 07 b8 00 00 00 1c 00 | 52 00 01 46 52 45 44 00 |@.......|R..FRED.|
|000005a0| 01 00 12 4d 50 53 52 00 | 00 00 2a 00 02 ff ff 00 |...MPSR.|..*.....|
|000005b0| 00 00 00 00 00 00 00 00 | 03 ff ff 00 00 00 1e 00 |........|........|
|000005c0| 00 00 00 03 ed ff ff 00 | 00 00 31 00 24 ba 6c 00 |........|..1.$.l.|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+